package org.hgvc.webapp.ets.bo;

import java.util.Date;

import org.jocsb.base.bo.User;

/**
 * installment = totalPrice * InterestRate()/ (agreement.getInstallmentSchema().getMonth());
 * 
 * @author andrew
 * 
 */
public class MemberScheduleScheme {
	private String memberScheduleSchemeId;
	private Integer installedMonth;
	private Double totalPrice;// without interest
//	private Double outstanding;//without interest
	private Double interestRate;
	private String actionNo;
	private Agreement agreement;// installment scheme here
	private User createdBy;
	private User modifiedBy;
	private Date createdDate;
	private Date modifiedDate;

	public Double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}

//	public Double getOutstanding() {
//		return outstanding;
//	}
//
//	public void setOutstanding(Double outstanding) {
//		this.outstanding = outstanding;
//	}

	public String getMemberScheduleSchemeId() {
		return memberScheduleSchemeId;
	}

	public void setMemberScheduleSchemeId(String memberScheduleSchemeId) {
		this.memberScheduleSchemeId = memberScheduleSchemeId;
	}

	public Integer getInstalledMonth() {
		return installedMonth;
	}

	public void setInstalledMonth(Integer installedMonth) {
		this.installedMonth = installedMonth;
	}

	public User getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(User createdBy) {
		this.createdBy = createdBy;
	}

	public User getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(User modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public Agreement getAgreement() {
		return agreement;
	}

	public void setAgreement(Agreement agreement) {
		this.agreement = agreement;
	}

	public MemberScheduleScheme() {
	}

	public Double getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(Double interestRate) {
		this.interestRate = interestRate;
	}

	public String getActionNo() {
		return actionNo;
	}

	public void setActionNo(String actionNo) {
		this.actionNo = actionNo;
	}

}
